Optimal. Leaf size=48 \[ -\frac {a+b \tanh ^{-1}(c x)}{4 x^4}+\frac {1}{4} b c^4 \tanh ^{-1}(c x)-\frac {b c^3}{4 x}-\frac {b c}{12 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5916, 325, 206} \[ -\frac {a+b \tanh ^{-1}(c x)}{4 x^4}-\frac {b c^3}{4 x}+\frac {1}{4} b c^4 \tanh ^{-1}(c x)-\frac {b c}{12 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 325
Rule 5916
Rubi steps
\begin {align*} \int \frac {a+b \tanh ^{-1}(c x)}{x^5} \, dx &=-\frac {a+b \tanh ^{-1}(c x)}{4 x^4}+\frac {1}{4} (b c) \int \frac {1}{x^4 \left (1-c^2 x^2\right )} \, dx\\ &=-\frac {b c}{12 x^3}-\frac {a+b \tanh ^{-1}(c x)}{4 x^4}+\frac {1}{4} \left (b c^3\right ) \int \frac {1}{x^2 \left (1-c^2 x^2\right )} \, dx\\ &=-\frac {b c}{12 x^3}-\frac {b c^3}{4 x}-\frac {a+b \tanh ^{-1}(c x)}{4 x^4}+\frac {1}{4} \left (b c^5\right ) \int \frac {1}{1-c^2 x^2} \, dx\\ &=-\frac {b c}{12 x^3}-\frac {b c^3}{4 x}+\frac {1}{4} b c^4 \tanh ^{-1}(c x)-\frac {a+b \tanh ^{-1}(c x)}{4 x^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 70, normalized size = 1.46 \[ -\frac {a}{4 x^4}-\frac {1}{8} b c^4 \log (1-c x)+\frac {1}{8} b c^4 \log (c x+1)-\frac {b c^3}{4 x}-\frac {b \tanh ^{-1}(c x)}{4 x^4}-\frac {b c}{12 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.21, size = 52, normalized size = 1.08 \[ -\frac {6 \, b c^{3} x^{3} + 2 \, b c x - 3 \, {\left (b c^{4} x^{4} - b\right )} \log \left (-\frac {c x + 1}{c x - 1}\right ) + 6 \, a}{24 \, x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.13, size = 292, normalized size = 6.08 \[ \frac {1}{3} \, c {\left (\frac {3 \, {\left (\frac {{\left (c x + 1\right )}^{3} b c^{3}}{{\left (c x - 1\right )}^{3}} + \frac {{\left (c x + 1\right )} b c^{3}}{c x - 1}\right )} \log \left (-\frac {c x + 1}{c x - 1}\right )}{\frac {{\left (c x + 1\right )}^{4}}{{\left (c x - 1\right )}^{4}} + \frac {4 \, {\left (c x + 1\right )}^{3}}{{\left (c x - 1\right )}^{3}} + \frac {6 \, {\left (c x + 1\right )}^{2}}{{\left (c x - 1\right )}^{2}} + \frac {4 \, {\left (c x + 1\right )}}{c x - 1} + 1} + \frac {\frac {6 \, {\left (c x + 1\right )}^{3} a c^{3}}{{\left (c x - 1\right )}^{3}} + \frac {6 \, {\left (c x + 1\right )} a c^{3}}{c x - 1} + \frac {3 \, {\left (c x + 1\right )}^{3} b c^{3}}{{\left (c x - 1\right )}^{3}} + \frac {6 \, {\left (c x + 1\right )}^{2} b c^{3}}{{\left (c x - 1\right )}^{2}} + \frac {5 \, {\left (c x + 1\right )} b c^{3}}{c x - 1} + 2 \, b c^{3}}{\frac {{\left (c x + 1\right )}^{4}}{{\left (c x - 1\right )}^{4}} + \frac {4 \, {\left (c x + 1\right )}^{3}}{{\left (c x - 1\right )}^{3}} + \frac {6 \, {\left (c x + 1\right )}^{2}}{{\left (c x - 1\right )}^{2}} + \frac {4 \, {\left (c x + 1\right )}}{c x - 1} + 1}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 58, normalized size = 1.21 \[ -\frac {a}{4 x^{4}}-\frac {b \arctanh \left (c x \right )}{4 x^{4}}-\frac {b c}{12 x^{3}}-\frac {b \,c^{3}}{4 x}-\frac {c^{4} b \ln \left (c x -1\right )}{8}+\frac {c^{4} b \ln \left (c x +1\right )}{8} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.32, size = 60, normalized size = 1.25 \[ \frac {1}{24} \, {\left ({\left (3 \, c^{3} \log \left (c x + 1\right ) - 3 \, c^{3} \log \left (c x - 1\right ) - \frac {2 \, {\left (3 \, c^{2} x^{2} + 1\right )}}{x^{3}}\right )} c - \frac {6 \, \operatorname {artanh}\left (c x\right )}{x^{4}}\right )} b - \frac {a}{4 \, x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.05, size = 59, normalized size = 1.23 \[ \frac {b\,\ln \left (1-c\,x\right )}{8\,x^4}-\frac {b\,\ln \left (c\,x+1\right )}{8\,x^4}-\frac {b\,c^3\,x^3+\frac {b\,c\,x}{3}+a}{4\,x^4}-\frac {b\,c^4\,\mathrm {atan}\left (c\,x\,1{}\mathrm {i}\right )\,1{}\mathrm {i}}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.90, size = 46, normalized size = 0.96 \[ - \frac {a}{4 x^{4}} + \frac {b c^{4} \operatorname {atanh}{\left (c x \right )}}{4} - \frac {b c^{3}}{4 x} - \frac {b c}{12 x^{3}} - \frac {b \operatorname {atanh}{\left (c x \right )}}{4 x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________